<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><%= title %></title>
    <link type="text/css" href="/css/base.css" rel="stylesheet" />
    <link type="text/css" href="/css/index.css" rel="stylesheet" />
    <link type="text/css" href="/css/alert/css/alert.css" rel="stylesheet" />

</head>
<body>
<div class="loading">

    <div class="firefly">
        <div class="head"></div>
        <div class="wing left"></div>
        <div class="wing right"></div>
        <div class="glow"></div>
        <div class="shadow"></div>
    </div>
</div>
<div id="all-bg"></div><!--背景图片-->
<div class="content">
    <!--左侧导航-->
    <% include nav.ejs %>
    <div class="wrap-content">
        <div  class="show-list" id="js_showlist">
            <%articlelist.forEach(function(data){%>
            <article>

                <h3 class="article-title">
                    <a  href="/article/<%=data._id%>" ><%=data.title%></a>

                </h3>

                <div class="article-img"><a href="/article/<%=data._id%>"><img src="/upload/<%=data.img%>" /> </a>
                </div>

                <div class="article-text">
                    <%=data.profile%>...</div>
                <ul class="article-info">
                    <li><a href="/article/<%=data._id%>">阅读全文</a> | </li>
                    <li>分类：<a   href="/list/<%=data.columnid%>"><%=data.columnname%></a> | </li>
                    <li><span class="fr">发表于：<%=(new Date(data.date).getFullYear()+"-"+(new Date(data.date).getMonth()+1)+"-"+new Date(data.date).getDate())%> | </span></li>
                    <li>浏览：<%=data.look%> | </li>
                    <li><span class="talk_num"><a  href="/article/<%=data._id%>">0</a></span>&nbsp;条评论</li>
                </ul>

            </article>
            <%})%>

            <p id="nav-page" class="tc"><%-navpage%> </p>
        </div>

    </div><!--中间内容列表-->

    <!--右侧用户列表-->
     <% include user.ejs %>
</div><!--内容板块-->


</body>

<script data-main="/js/mian-list"  src="/js/require.js"></script>

</html>
